package org.misty.seckill.service;

import org.misty.seckill.model.Order;
import org.misty.seckill.model.SOrder;
import org.misty.seckill.model.User;
import org.misty.seckill.vo.SGoodsVo;

public interface OrderService {
  @Deprecated
  SOrder findByUserAndGoods(long userId, long goodsId);

  Order createOrder(User user, SGoodsVo SGoodsVo);

  Order findByUserAndId(long userId, long orderId);

  void clearAll();
}
